<extend name="Public/base"/>

<block name="body">
	<div class="main-title">
		<h2>编辑询单状态 {$info.mano}</h2>
	</div>
	<form action="{:U()}" method="post" class="form-horizontal">
		<div class="form-item">
			<div class="controls">
			<label class="item-label">标题<span class="check-tips">（一般为CAS号）</span></label>
            {$info.title}
			</div>
		</div>
		<div class="form-item">
			<label class="item-label">备注<span class="check-tips"></span></label>
			<div class="controls">
				<label class="textarea input-xlarge">
                   {$info.remark|default=''}
				</label>
			</div>
		</div>
		
		<div class="form-item">
			<div class="controls">
			<label >状态</label>
				<select name="status">
					<volist name="Think.config.INQUIRY_STATUS" id="status">
						<option value="{$key}" <eq name="info.status" value="$key">selected</eq> >{$status}</option>
					</volist>
				</select>
			</div>
		</div>
        <notempty name="info.id">
		<div class="form-item">
			<label class="item-label">创建人:{$info.creater|get_nickname}              创建时间:{$info.create_time|time_format}</label>
			<label class="item-label">最后修改人:{$info.user_id|get_nickname}              最后修改时间:{$info.update_time|time_format}</label>
			<label class="item-label">负责人:{$info.charge_man|get_nickname}             </label>
		</div>
        </notempty>
		
		
		<div class="form-item">
			<input type="hidden" name="id" value="{$info.id|default=''}">
			<button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
			<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
		</div>
	</form>
</block>

<block name="script">
	<script type="text/javascript">
		Think.setValue("type", {$info.type|default=0});
		Think.setValue("group", {$info.group|default=0});
		//导航高亮
		highlight_subnav('{:U('Inquiry/index')}');
	</script>
</block>
